<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Role extends Model
{
    private static $items;

    protected $primaryKey = 'role_id';
    protected $connection = 'manager';

    public $timestamps = false;

    public static function getAll() {
        if (self::$items == null) {
            self::$items = self::all();
        }
        return self::$items;
    }
}
